package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TBusinessLogin;
import com.bootdo.project.dao.TBusinessLoginMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TBusinessLoginService {

	@Autowired
    private TBusinessLoginMapper tBusinessLoginMapper;
    
    public int deleteByPrimaryKey(Integer id){
        return tBusinessLoginMapper.deleteByPrimaryKey(id);
    }

    public int insert(TBusinessLogin record){
        return tBusinessLoginMapper.insert(record);
    }

    public int insertSelective(TBusinessLogin record){
        return tBusinessLoginMapper.insertSelective(record);
    }

    public TBusinessLogin selectByPrimaryKey(Integer id){
        return tBusinessLoginMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TBusinessLogin record){
        return tBusinessLoginMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TBusinessLogin record){
        return tBusinessLoginMapper.updateByPrimaryKey(record);
    }

    public List<TBusinessLogin> selectByCondition(TBusinessLogin record){
        return tBusinessLoginMapper.selectByCondition(record);
    }

    public List<TBusinessLogin> selectAll(){
        return tBusinessLoginMapper.selectAll();
    }

    public List<TBusinessLogin> selectByPage(Page<TBusinessLogin> page){
        return tBusinessLoginMapper.selectByPage(page);
    }

    public Integer count(TBusinessLogin record){
        return tBusinessLoginMapper.count(record);
    }

    public int deleteByCondition(TBusinessLogin record){
        return tBusinessLoginMapper.deleteByCondition(record);
    }

}
